package com.itheima.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.bean.Setmeal;
import org.apache.ibatis.annotations.Select;

/**
 * @author Tang
 * @date 2023/1/7
 */
public interface SetmealDao extends BaseMapper<Setmeal> {

    @Select("select count(*) from setmeal where name = #{name}")
    int count(String name);
}
